package FileStudy;

import java.io.File;
import java.io.IOException;

public class Fdemo3 {
    public static void main(String[] args) throws IOException {
        File f1 = new File("d:/test.txt");
        System.out.println(f1.exists());
        System.out.println("创建文件");
        f1.createNewFile();

    }
}
